package com.moshang.blog.core.constant;

/**
 * @program: blog
 * @description: ${description}
 * @author: xieweiwei
 * @create: 2018-09-29 09:14
 **/
public class Constants {


    /**
     * shiro采用加密算法
     */
    public static final String HASH_ALGORITHM = "SHA-1";
    /**
     * 生成Hash值的迭代次数
     */
    public static final int HASH_INTERATIONS = 1024;
    /**
     * 生成盐的长度
     */
    public static final int SALT_SIZE = 8;
    /**
     * 登录成功
     */
    public static final String LOGIN_SUCCESS = "Success";

    /**
     * 注销
     */
    public static final String LOGOUT = "Logout";

    /**
     * 登录失败
     */
    public static final String LOGIN_FAIL = "Error";
    /**
     * 通用成功标识
     */
    public static final Integer SUCCESS =0;

    /**
     * 通用失败标识
     */
    public static final Integer FAIL =1;
/**
 * 默认的盐
 */
  public static final String DEFAULT_SALT = "3fb5ac522dffb5a1";
    /**
     *系统用户默认密码
     */
    public static final String DEFAULT_PASSWORD = "123456";
    /**
     *后台登录
     */
    public static final String BACK_LOGIN ="1";
    /**
     *前台登录
     */
    public static final String FRONE_LOGIN = "2";
    /**
     *默认的分类
     */
    public static final String DEFAULT_CATEGORY = "图片";
    /**
     *墨殇头像图片
     */
    public static final String DEFAULT_IMAGE = "https://minghaozhi.oss-cn-beijing.aliyuncs.com/image/11.jpg";
}
